package design.onekey.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import design.onekey.base.GenericMapper;
import design.onekey.model.OperateLog;

import java.util.List;
import java.util.Map;

/**
* @Description: OperateLogMapper类
* @author
* @date 2020-06-22 03:30:46
* @version V1.0
*/
public interface OperateLogMapper extends BaseMapper<OperateLog>, GenericMapper<OperateLog> {

   /**
    * @Title: getRangeIds
    * @Description: 获取范围内的id
    * @param operateLog
    * @return
    * @author caiyang
    * @date 2020-08-07 09:09:11
    */
   List<Long> getRangeIds(OperateLog operateLog);

   /**
    * @Title: getTableList
    * @Description: 获取表格数据
    * @param map
    * @return
    * @author caiyang
    * @date 2020-08-07 09:30:43
    */
   List<OperateLog> getTableList(Map<String, Object> map);
}
